using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Entity.BBC
{
	[Table("ActiveProduct")]
	public class ActiveProduct{
		private long _id;
		private string _atnum;
		private long _productid;
		private bool _islimit;
		private DateTime _endtime;
		private string _paretnum;

		[Key]
		public long Id
		{
			get { return _id; }
			set { _id = value; }
		}

		///<summary>
		///活动主题ID
		///</summary>
		public string ATNum
		{
			get { return _atnum; }
			set { _atnum = value; }
		}

		///<summary>
		///商品ID
		///</summary>
		public long ProductId
		{
			get { return _productid; }
			set { _productid = value; }
		}

		///<summary>
		///是否限时
		///</summary>
		public bool IsLimit
		{
			get { return _islimit; }
			set { _islimit = value; }
		}

		///<summary>
		///活动结束时间
		///</summary>
		public DateTime EndTime
		{
			get { return _endtime; }
			set { _endtime = value; }
		}

		public string ParetNum
		{
			get { return _paretnum; }
			set { _paretnum = value; }
		}
	}
}